/**
 * Created by wzh on 2016/6/24.
 */
swan_pc.controller('ContactDetailController',function($scope,$rootScope,$state){
    $scope.init=function(){
        //father section
        if ($rootScope.toState.name=="contacthint"&&$scope.contactBaseInfos.length==0) $state.go("contacthint");
        else $scope.initAddressBox();
    };
    $scope.init();
});
